/**
 *WangGANG
 *2018/10/22
 */
package main

import (
	"net"
	"fmt"
)

func main() {

	ipAddr,_ := net.ResolveTCPAddr("tcp4","127.0.0.1:1272")
	fmt.Println(ipAddr)
	fmt.Println(ipAddr.IP)
}